import time
import  threading


def sing(*tupleList):
    while True:
        print("我是唱歌的参数",tupleList)
        time.sleep(1)

def dancing(**dictList):
    while True:
        print("我是跳舞的参数",dictList)
        time.sleep(1)

#给唱歌创建参数  元组形式
sing_args=(1,2,3,4)
#给跳舞创建参数 字典形式
dancing_kwargs={"name":"张三","age":100}

#创建唱歌的线程
sing_thread=threading.Thread(target=sing,args=sing_args)
dancing_thread=threading.Thread(target=dancing,kwargs=dancing_kwargs)
#调用跳舞线程
sing_thread.start()
#调用跳舞线程
dancing_thread.start()